<%= render :partial => 'spree/admin/shared/order_tabs', :locals => { :current => 'Customer Details' } %>

<% admin_breadcrumb(Spree.t(:customer_details)) %>


<% content_for :page_actions do %>
<% end %>

<div id="select-customer" data-hook>
  <fieldset class="no-border-bottom">
    <legend align="center"><%= Spree.t(:customer_search) %></legend>
    <%= hidden_field_tag :customer_search,  nil, :class => 'fullwidth title' %>
  </fieldset>
</div>

<%= render :partial => 'spree/shared/error_messages', :locals => { :target => @order } %>

<%= form_for @order, :url => admin_order_customer_url(@order) do |f| %>
  <%= render 'form', :f => f %>
<% end %>
